import tkinter

top = tkinter.Tk()
top.title('Tk')
ipx = 2
top.resizable(False, False)
frames = []
for i in range(9):
    f = tkinter.Frame(top)
    f.pack(side = tkinter.TOP, fill = tkinter.X)
    frames.append(f)

for i in range(1, 10):
    for j in range(1, i + 1):
        info = str(i) + ' x ' + str(j) + ' = ' + str(i * j)
        label = tkinter.Label(
            frames[i - 1],
            width = 9,
            text = info,
            relief = tkinter.SUNKEN
        )
        label.pack(side = tkinter.LEFT, ipadx = ipx)

top.mainloop()
